package com.mt.course.api.service;

import java.util.List;
import java.util.Map;

import com.mt.common.PagerInfo;
import com.mt.common.ServiceResult;
import com.mt.course.entity.ExaminationItemWrongEntity;

/**
 * 管理员数据接
 * 
 * @author raysonfang
 */
public interface IExaminationItemWrongService {
    /**
     * 查询详情
     * 
     * @param params
     * @return
     */
    ServiceResult<ExaminationItemWrongEntity> findInfo(Map<String, Object> params);

    /**
     * 查询列表
     * 
     * @param params
     * @return
     */
    ServiceResult<List<ExaminationItemWrongEntity>> findList(Map<String, Object> params, PagerInfo<?> pagerInfo);

    /**
     * 查询数量
     * 
     * @param courseGoodsLearnLogEntity
     * @return
     */
    ServiceResult<Integer> findCount(Map<String, Object> params);

    /**
     * 创建
     * 
     * @param examinationItemWrongEntity
     * @return
     */
    ServiceResult<Integer> doInsert(ExaminationItemWrongEntity examinationItemWrongEntity);

    /**
     * 创建
     * 
     * @param examinationItemWrongList
     * @return
     */
    ServiceResult<Integer> doInsertList(List<ExaminationItemWrongEntity> examinationItemWrongList);

    /**
     * 编辑
     * 
     * @param examinationItemWrongEntity
     * @return
     */
    ServiceResult<Integer> doUpdate(ExaminationItemWrongEntity examinationItemWrongEntity);

    /**
     * 删除
     * 
     * @param userId
     * @return
     */
    ServiceResult<Integer> doDeleteById(Integer examinationItemWrongId);

    /**
     * 删除
     * 
     * @param userId
     * @return
     */
    ServiceResult<Integer> doDeleteByCustomerExamination(Map<String, Object> params);

}
